<template>
  <div class="box">
    <header>{{ title }}</header>
    <slot></slot>
  </div>
</template>

<script setup>
import { ref } from "vue";

const props = defineProps({
  title: {
    type: String,
    default: "请输入标题",
  },
});

const title = ref(props.title);
</script>
<style scoped lang='scss'>
.box {
  color: #fff;
  background: RGBA(3, 27, 41, .8);
  position: relative;
  z-index: 10;

  header {
    height: 58px;
    width: 605px;
    background: url("@/assets/longscreen3/bg_tt.png");
    font-family: PangMenZhengDao;
    font-size: 27px;
    color: #ffffff;
    line-height: 32px;
    text-shadow: 0px 0px 10px #158eff;
    text-align: left;
    font-style: normal;
    text-transform: none;
    padding-left: 16px;
    line-height: 58px;
    background-size: 100% 100%;
    box-sizing: border-box;
  }
}
</style>